package cate.game.play.proce.result;

import cate.common.table.d.GDPlay;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("护盾变更结果")
public class ShieldChangeResult extends ActionResult<ShieldChangeResult> {

    @NoteField(value = "改变值")
    public long val;

    @NoteField("改变后的护盾血量")
    public long hp;

    @NoteField("理由")
    public int reason;

    public ShieldChangeResult() {
        this.type = GDPlay.ResultType.SHIELD_CHANGE;
    }


    public ShieldChangeResult valSet(long val) {
        this.val = val;
        return this;
    }

    public ShieldChangeResult hpSet(long hp) {
        this.hp = hp;
        return this;
    }

    public ShieldChangeResult reasonSet(int reason) {
        this.reason = reason;
        return this;
    }
}
